<%@page import="org.apache.commons.logging.LogFactory"%>
<%@page import="org.apache.commons.logging.LogFactory"%>
<%@page import="org.apache.commons.logging.Log"%>
<%@page import="com.netcracker.action.CustomerAction"%>
<%@page import="com.netcracker.framework.jdbc.oracle.JDBCType"%>
<%@page import="com.netcracker.framework.jdbc.ResultSetHandler"%>
<%@page import="com.netcracker.ejb.core.NCObject"%>
<%@page import="com.netcracker.ejb.core.ILoadingService"%>
<%@page import="java.sql.SQLException"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="com.netcracker.ejb.core.NCCoreInternals"%>
<%@ page import="com.netcracker.jsp.UniPage" %>
<%@ page import="java.math.BigInteger" %>
<%@ page import="com.netcracker.jsp.RedirectException" %>
<%@ page import="com.netcracker.jsp.PageDesign" %>
<%@ page import="com.netcracker.jsp.html.Code" %>
<%@ page import="com.netcracker.jsp.*" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%!
    public class ThisPage extends com.netcracker.jsp.ModernPage {

        private String word = "";
        private String name = "";
        private final Log log = LogFactory.getLog("com.netcracker.action");
        public ThisPage() {
            // just example
            setPageUrl("/practice/aplha");
        }

        protected void parseParameters() {
            word = getParameter("word");
            
        }

        protected void init() throws Exception {
            // This block will init a NC Design (NC Header and navigation path).

            ModernDesign theDesign = makeDesign();
            NavigationPath navigationPath = new UniPath();

            setPageInfo("some path");
            navigationPath.addItem("some path");
            theDesign.setNavigationPath(navigationPath);
            setPageDesign(theDesign);
        }
        

        protected void printWindowContent() throws Exception {

            //method for visual representation
            out.println("Just " + word + " \"Hello World!\"");
            log.debug("andrew---------------------------------");
            CustomerAction cAction = new CustomerAction();
            String param = cAction.findCustomerById(new BigInteger("9135921994613356285"));                  
            
            
  
            out.println("<br>" + "Result: " + param);

        }

        protected void execute() throws Exception {
            // method for logic implementation
        }
    }
%>
<%
    ThisPage thePage = new ThisPage();
    thePage.setPageContext(pageContext);
    try {
        thePage.debugSecureService();
    } finally {
    }
%>